package com.jinjia.ordersys.dto;

import com.jinjia.ordersys.domain.Goods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description: 订单DTO类
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 2018/10/11
 * @Time: 4:32 PM
 */
@Data
@ApiModel(value = "订单列表对象")
public class OrderDto {

    private static final long serialVersionUID = -4869594085374385813L;

    @ApiModelProperty(value = "orderId", required = true)
    private Long id;

    /**
     * 业务员id
     */
    @ApiModelProperty(value = "业务员id", required = true)
    private Long personId;

    /**
     * 业务员姓名
     */
    @ApiModelProperty(value = "业务员姓名", required = true)
    private String personName;

    /**
     * 业务员手机号码
     */
    @ApiModelProperty(value = "业务员手机号码", required = true)
    private String personPhone;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号", required = true)
    private String orderNo;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态", required = true)
    private String orderStatusName;

    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间", required = true)
    private String orderTime;

    /**
     * 发货时间
     */
    @ApiModelProperty(value = "发货时间", required = true)
    private String orderSendTime;

    /**
     * 确认收货时间
     */
    @ApiModelProperty(value = "确认收货时间", required = true)
    private String orderReceiveTime;

    /**
     * 客户姓名
     */
    @ApiModelProperty(value = "客户姓名", required = true)
    private String customerName;

    /**
     * 客户联系方式
     */
    @ApiModelProperty(value = "客户联系方式", required = true)
    private String customerPhone;

    /**
     * 客户地址
     */
    @ApiModelProperty(value = "客户地址", required = true)
    private String customerAddress;

    /**
     * 收货地址
     */
    @ApiModelProperty(value = "收货地址", required = true)
    private String orderAddress;

    /**
     * 订单描述
     */
    @ApiModelProperty(value = "订单描述", required = true)
    private String orderDesc;

    /**
     * 商品明细列表
     */
    @ApiModelProperty(value = "商品明细", required = true)
    private List<Goods> goodsList;

}